//
//  RequestManager+interface.h
//  OrderFood
//
//  Created by leilei on 2018/11/12.
//  Copyright © 2018年 zhiyuan. All rights reserved.
//

#import "RequestManager.h"

NS_ASSUME_NONNULL_BEGIN

@interface RequestManager (interface)

-(void)netWorkLogin:(NSString *)account andPwd:(NSString *)pwd success:(SuccessBlock)success failure:(FailureBlock)failure;
-(void)netWorkDistanceTime:(NSString *)origin andDestination:(NSString *)destination success:(SuccessBlock)success failure:(FailureBlock)failure;
-(void)netWorkWait:(SuccessBlock)success failure:(FailureBlock)failure;
-(void)netWorkGetOrder:(NSString *)orderId success:(SuccessBlock)success failure:(FailureBlock)failure;
-(void)netWorkGetFood:(NSString *)orderId success:(SuccessBlock)success failure:(FailureBlock)failure;
-(void)netWorkSendFinish:(NSString *)orderId success:(SuccessBlock)success failure:(FailureBlock)failure;
-(void)netWorkFinishOrder:(NSString *)orderId success:(SuccessBlock)success failure:(FailureBlock)failure;
-(void)netWorkFinishOrder:(SuccessBlock)success failure:(FailureBlock)failure;
-(void)netWorkAWSS3Zone:(NSInteger)quantity success:(SuccessBlock)success failure:(FailureBlock)failure;
-(void)netWorkSubmitError:(NSString *)orderId andContent:(NSString *)content andImageArr:(NSArray *)imageArr success:(SuccessBlock)success failure:(FailureBlock)failure;

#pragma mark - 12-25接手
/**3.配送列表数据*/
- (void)requestDeliveryListSuccessBlock:(SuccessBlock)success failBlock:(FailureBlock)failure;

/**5.开始配送*/
- (void)requestSendStartWithOrderId:(NSString *)userOrderId successBlock:(SuccessBlock)success failBlock:(FailureBlock)failure;
/**6.确认送达*/
- (void)requestSendEndWithOrderId:(NSString *)userOrderId successBlock:(SuccessBlock)success failBlock:(FailureBlock)failure;

/**8.异常上报列表*/
- (void)requestExceptionReportListSuccessBlock:(SuccessBlock)success failBlock:(FailureBlock)failure;
/**11.佣金明细列表*/
- (void)requestCommissionListSuccessBlock:(SuccessBlock)success failBlock:(FailureBlock)failure;

/**13.我的页面*/
- (void)requestMySucessBlock:(SuccessBlock)success failBlock:(FailureBlock)failure;

/**请求首页数据*/
- (void)requestHomeSuccessBlock:(SuccessBlock)success failureBlock:(FailureBlock)failure;

/**15.修改密码*/
- (void)requestModifyPasswordWithOldPwd:(NSString *)oldpwd xinPwd:(NSString *)xinpwd successBlock:(SuccessBlock)success failBloc:(FailureBlock)failure;


@end

NS_ASSUME_NONNULL_END
